<%@ page language="java" pageEncoding="utf-8" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>项目首页-会员中心</title>
</head>
<body>
<%
    if (session.getAttribute("member") == null) {
%>

<p>请登录，本页面操作必须是会员，必须登录。</p>
<a href="login.jsp">登录</a>

<%
} else {
%>
<h1>会员中心</h1>
<h3>欢迎：<%=session.getAttribute("member")%></h3>


<br><br><br><br><br><br>
<a href="/logout">退出</a>
<%
    }
%>


</body>
</html>
